package com.experience.yledu;
/*
import java.util.Scanner;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;

import org.apache.http.client.utils.DateUtils;

import com.alibaba.druid.pool.vendor.SybaseExceptionSorter;
import com.fasterxml.jackson.annotation.JsonFormat;

public class sss extends org.apache.commons.lang3.time.DateUtils  {
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	public static String formatDateTime(Date date) {
		return formatDate(date, "yyyy-MM-dd HH:mm:ss");
	}
	
//	
//	@SuppressWarnings("deprecation")
//	
//	public static void main(String[] args) throws ParseException, UnsupportedEncodingException {
//		
		
		
		
//		String dat = "20170101101010";
//		SimpleDateFormat sd = new SimpleDateFormat("yyyyMMddHHmmss");
		sd.setTimeZone(TimeZone.getTimeZone("GMT+8"));
		Date dates = sd.parse(dat);
		String ssssss = DateUtils.formatDate(dates, "yyyy-MM-dd HH:mm:ss");
		
//		String ssssss = DateUtils.formatDate(new Date().setTimezone,"yyyy-MM-dd HH:mm:ss");
//		System.out.println(ssssss);
		
			String str="HELLO";
       
        	byte[] temp=str.getBytes("gb2312");//这里写原编码方式
            byte[] newtemp=new String(temp,"gb2312").getBytes("ISO-8859-1");//这里写转换后的编码方式
            String newStr=new String(newtemp,"ISO-8859-1");//这里写转换后的编码方式
            System.out.println(newStr);
           
           Integer integer=Integer.valueOf("12345");}
         
		public static void main(String[] args) {
			char c = 'a';
			System.out.println((char)(c+32));
			
			int b=1,c;
			  c = b + b++ - b--;
			  System.out.println(c);
			  System.out.println(b);
		}
			
		
		public static void Sr(){
			
		}
	
	
	
}
*/